home *** CD-ROM | disk | FTP | other *** search
/ Aminet 5 / Aminet 5 - March 1995.iso / Aminet / util / gnu / a2_0b_Emacs_sr.lha / Emacs-19.25 / src / smakefile < prev    next >
Makefile  |  1994-08-29  |  1KB  |  46 lines

  1. CPP = /cpp/cpp -DAMIGA
  2. MAKE = smake  # BSD doesn't have it as a default.
  3. #Note: an alternative is  CPP = /lib/cpp
  4.  
  5. all: xmakefile doall
  6.  
  7. doall:
  8.     $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} all
  9.  
  10. #This is used in making a distribution.
  11. #Do not use it on development directories!
  12. distclean:
  13.     -delete force paths.h config.h emacs-* temacs xemacs xmakefile \
  14.    *! @* *.o
  15.  
  16. clean:
  17.     -delete force temacs xemacs xmakefile @* *.o
  18.  
  19. xemacs: xmakefile doxemacs
  20.  
  21. doxemacs:
  22.     $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} xemacs
  23.  
  24. temacs: xmakefile dotemacs
  25.  
  26. dotemacs:
  27.     $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} temacs
  28.  
  29. demacs: xmakefile dodemacs
  30.  
  31. dodemacs:
  32.     $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} demacs
  33.  
  34. # If you have a problem with cc -E here, changing
  35. # the definition of CPP above may fix it.
  36. xmakefile: ymakefile config.h dostrip
  37. #    -delete force xmakefile
  38.     ${CPP} ymakefile > t:ymkf
  39.     dostrip <t:ymkf >xmakefile.test
  40.  
  41. dostrip: dostrip.c
  42.     sc link dostrip
  43.  
  44. tags:
  45.     etags [a-z]*.h [a-z]*.c /lisp/[a-z]*.el
  46.